
import datetime
import xlrd

__s_date = datetime.datetime(1899, 12, 31,0,0,0).toordinal() - 1
def getdate(dt):

    d = datetime.datetime.fromordinal(__s_date + dt)
    return d

book = xlrd.open_workbook("./../sync.xls")
sh = book.sheet_by_index(0)
excel_datetime=datetime.datetime.fromordinal(float(sh.cell_value(rowx=1, colx=3)))
print excel_datetime